package com.alone.wchat.common.bean;

import java.util.List;

public class Page<T> {
	private final long total;

	private final List<T> rows;

	public Page(long total, List<T> rows) {
		super();
		this.total = total;
		this.rows = rows;
	}

	public long getTotal() {
		return total;
	}

	public List<T> getRows() {
		return rows;
	}

}
